]> dgit.raspbian.org Git - gnome-shell.git/commit
magnifier: Sanity check coordinates in scrollContentsTo
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 6 Feb 2020 09:52:24 +0000 (10:52 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 7 Feb 2020 17:18:25 +0000 (18:18 +0100)
commit42b50051acdf8227c23f6628aa7b8f953fe8ff70
tree92a6eb08ebb9a15a6f808f4503df4b274c29e780
parentbda18888c054ec83ccf7a7f7121b9691e0b9bb97
magnifier: Sanity check coordinates in scrollContentsTo

We may receive a11y events with bogus coordinates (eg. x/y = minint),
so ensure the coordinates are sane before scrolling there.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984
js/ui/magnifier.js